import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { TableComponent } from './table.component';
import { ColumnHeaderComponent } from './columnHeader/columnHeader.component';
import { SearchModule } from '../search/search.module';
import { MultiselectDropdownModule } from 'angular-2-dropdown-multiselect';
import { PaginationComponent } from './pagination/pagination.component';
import { FixedColumnPipe } from './fixedColumn.pipe';
import { TableCellComponent } from './tableCell/tableCell.component';
import { UiSwitchModule } from 'ngx-ui-switch';

/**
 * Pagination module
 * 
 * Authos: Andrei Istrate
 * Date: 25.04.2018
 */
@NgModule({
    imports: [
        CommonModule,
        RouterModule,
        FormsModule,
        SearchModule,
        UiSwitchModule,
        MultiselectDropdownModule
    ],
    declarations: [
        TableComponent,
        ColumnHeaderComponent,
        PaginationComponent,
        FixedColumnPipe,
        TableCellComponent
    ],
    exports: [
        TableComponent
    ]
})
export class TableModule { }
